package com.cncq.flowable;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * @author : yaols
 * Desc:
 * Date: 2022.08.02.17:02
 **/
@SpringBootApplication
public class CNCQFlowableApplication  {  //implements CommandLineRunner

    public static void main(String[] args) {
        SpringApplication.run(CNCQFlowableApplication.class, args);
    }

//    @Resource
//    private RepositoryService repositoryService;
//
//    @Override
//    public void run(String... args) {
//        InputStream inputStream = this.getClass().getResourceAsStream("/process/投诉建议.bpmn20.xml");
//        DeploymentBuilder deploymentBuilder = repositoryService.createDeployment();
//        deploymentBuilder.addInputStream("投诉建议.bpmn20.xml", inputStream);
//        deploymentBuilder.deploy();
//    }
}
